package com.zimug.bootlaunch.generator.testdb;

import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ReaderMapperDynamicSQL {

    List<Reader> getReaderTestInnerParameter(Reader reader);

    List<Reader> getReaderByConditionIf(Reader reader);

    List<Reader> getReaderByConditionTrim(Reader reader);

    List<Reader> getReaderByConditionChoose(Reader reader);

    void updateReader(Reader reader);

    List<Reader> getReaderByConditionForeach(@Param("ids") List<Integer> ids);

    public void addReader(@Param("readers") List<Reader> readers);

}